var express = require('express');
var router = express.Router();



//引入控制器
const {
  getAllCollection,
  deleteCollection,
} = require('../controllers/collectionControllers');

/* GET users listing. */
// router.get('/', getAllCollection);
router.post('/', getAllCollection);
router.post('/delete', deleteCollection);



module.exports = router;